package com.niknik.woody.rest.schema;

import java.text.MessageFormat;

/**
 * User: yoda
 * Date: 01.12.11
 * Time: 8:54
 */
public class ResLogMsg {
  public static final String GET_ROOMS_TRACE = MessageFormat.format("{0}{1}?{2}='{0'}", ResPath.MAIN, ResPath.ROOMS,
      ResParam.PLAYER_ID);

  public static final String CREATE_ROOM_TRACE = MessageFormat.format("{0}{1}?{2}='{0'}", ResPath.MAIN, ResPath.CREATE,
      ResParam.PLAYER_ID);

  public static final String CREATE_ROOM_CHANNEL_TRACE = MessageFormat.format("{0}{1}?{2}='{0'}&{3}='{1'}",
      ResPath.MAIN, ResPath.CREATE_CHANNEL, ResParam.PLAYER_ID, ResParam.ROOM_ID);

  public static final String MOVE_TRACE = MessageFormat.format("{0}{1}?{2}='{0'}&{3}='{1'}&{4}='{2'}", ResPath.MAIN,
      ResPath.MOVE, ResParam.PLAYER_ID, ResParam.ROOM_ID, ResParam.MOVE);

  public static final String ROOM_NOT_EXIST = "Failed to find room with requested id: {0}";

  public static final String ROOM_IS_INACTIVE = "Room with requested id is inactive: {0}";
}
